-- Decompiled with the Synapse X Luau decompiler.

local l__ClientOHOH__1 = _G.ClientOHOH;
local M = l__ClientOHOH__1.class.new(script, l__ClientOHOH__1.files.BaseComponent());

function M.new(self)
	return M(self);
end;
function M.ctor(self, parent)
	M.super.ctor(self, parent);
end;
function M.dtor(self)
	M.super.dtor(self);
end;
local event_manager = l__ClientOHOH__1.event_manager;

function M.RegistEvent(self, p6, p7)
	event_manager:RegistHandle(p6, function(p8, ...)
		local v2 = p8:GetComponent(self);
		if v2 then
			v2:AddProcess(p7, ...);
			return;
		end;
		warn(p8.main_inst.Name .. "don't have component named " .. self.class);
	end);
end;
function M.Fire(p9, p10, ...)
	-- warn("---Fire---->",p10)
	event_manager:Fire(p10, ...);
end;
local l__function_manager__4 = l__ClientOHOH__1.function_manager;
function M.RegistFunction(p11, p12, p13)
	l__function_manager__4:SetHandle(p12, function(p14, ...)
		local v3 = p14:GetComponent(p11);
		if v3 then
			return p13(v3, ...);
		end;
		warn(p14.main_inst.Name .. "don't have component named " .. p11.class);
	end);
end;
function M.Invoke(p15, p16, ...)
	return l__function_manager__4:Invoke(p16, ...);
end;
return M;
